package app.web.cartoon.search;

import cn.lily.com.exception.YaconException;
import cn.lily.web.page.BusinessPage;
import cn.lily.web.widget.page.TPanel;
/**
 * 动漫汇总Edit
 * @author JiaJ
 * @date 2017年12月7日
 *
 */
public class CartoonSearchEdit extends BusinessPage { 

	 public void page_onLoad() throws YaconException {

		 TPanel cartoonAllPanel = Panel("cartoonAllPanel");
		 cartoonAllPanel.creatToolbar().setBarText("动漫汇总统计表编辑");

		 Form("cartoonAllForm").setDictTable("LEO_CAN_REPORT_ALL");
		 
		 Form("cartoonAllForm").createFormCell(Input("CAN_NAME"));	 
		 Form("cartoonAllForm").createFormCell(Input("CAN_DETAIL_NAME"));	 
		 Form("cartoonAllForm").createFormRow();

		 Form("cartoonAllForm").createFormCell(TextArea("CAN_NAM_ENG").setAreaRow(2));
		 Form("cartoonAllForm").createFormRow();

		 Form("cartoonAllForm").createFormCell(TextArea("CAN_NAM_JAP").setAreaRow(2));
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(TextArea("CAN_NAME_MEMO").setAreaRow(2));
		 Form("cartoonAllForm").createFormRow();

		 Form("cartoonAllForm").createFormCell(TextArea("CAN_NAME_OTHER").setAreaRow(2));
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Input("CAN_ID"));
		 Form("cartoonAllForm").createFormCell(Input("CAN_DETAIL_ID"));
		 Form("cartoonAllForm").createFormCell(Input("RES_ID"));
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Input("CAN_TYP_MEMO"));	 
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Drop("CAN_TIME"));
		 Form("cartoonAllForm").createFormCell(Input("CAN_TOTAL"));
		 Form("cartoonAllForm").createFormCell(Input("CAN_FIRST"));
		 Form("cartoonAllForm").createFormRow();

		 Form("cartoonAllForm").createFormCell(Input("CAN_FANS"));	
		 Form("cartoonAllForm").createFormCell(Input("CAN_YEAR"));
		 Form("cartoonAllForm").createFormCell(Input("CAN_MONTH"));
		 Form("cartoonAllForm").createFormRow();

		 
		 Form("cartoonAllForm").createFormCell(Input("DISK_ID"));
		 Form("cartoonAllForm").createFormCell(Input("CAN_SIZE"));
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Input("RES_STORE_PLACE"));
		 Form("cartoonAllForm").createFormRow();


		 Form("cartoonAllForm").createFormCell(Drop("CAN_STAT"));
		 Form("cartoonAllForm").createFormCell(Drop("CAN_SOURCE"));
		 Form("cartoonAllForm").createFormCell(Drop("CAN_AREA")); 
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Drop("CAN_QUA"));
		 Form("cartoonAllForm").createFormCell(Drop("CAN_KIND"));
		 Form("cartoonAllForm").createFormCell(Input("RES_STORE_SIZE"));
		 Form("cartoonAllForm").createFormRow(); 

		 Form("cartoonAllForm").createFormCell(Input("CAN_FIRM_MEMO"));
		 Form("cartoonAllForm").createFormRow();
		 
		 Form("cartoonAllForm").createFormCell(Input("RES_TAG_MEMO"));
		 Form("cartoonAllForm").createFormRow();
		

		 cartoonAllPanel.createPanelCell(Form("cartoonAllForm"));
		 cartoonAllPanel.creatStatusBar().addElement(Button("save"));
		 cartoonAllPanel.getStatusBar().addElement(Button("exit"));
		 getPage().addElement(cartoonAllPanel);

	 }


}
